package com.dhq.myapp.util

import android.content.Context
import android.widget.ImageView
import com.bumptech.glide.Glide

/**
 * DESC
 * Created by DHQ on 2025/10/19.
 */
object GlideImageLoadUtils {

    @JvmStatic
    fun loadImage(imagePath:String,imageView: ImageView){
        Glide.with(imageView.context).load(imagePath).into(imageView)
    }

    @JvmStatic
    fun loadImage(imagePath:String,imageView: ImageView,defaultIcon:Int){
        Glide.with(imageView.context).load(imagePath).placeholder(defaultIcon).into(imageView)
    }

}